Scratch Programming Playground by Al Sweigart
Author:Al Sweigart
Language: eng
Format: epub, mobi
Publisher: No Starch Press, Inc.
Published: 2016-02-09T16:00:00+00:00
Click the green flag to test the code so far. Make sure the Body clones form a trail behind the snake that gets longer as the snake eats more apples. Then click the red stop sign and save your program.
6. Detect Whether the Snake Crashes into Itself or a Wall
When the snake crashes into itself or the edges of the Stage, we want to run the when I receive game over code: the Head sprite will say “Ouch!” for 2 seconds and then stop the program. Instead of writing the same code twice, let’s put the code for all crashes under a when I receive game over block so that either crash can broadcast game over and run this code. If you want to change the code, you just need to change it in one place—in the when I receive game over script.
Download
Scratch Programming Playground by Al Sweigart.mobi
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Baby Bird by Seven Rue(1929)
CLICK'D by Tamara Ireland Stone(1761)
Minecraft by Mojang Ab(1646)
The Game of Lives by James Dashner(1606)
Olivia Twisted (Entangled Teen) by Vivi Barnes(1554)
The Rule of Thoughts by James Dashner(1518)
Getting Started with the micro:bit by Wolfram Donat(1481)
Mission Python by Sean McManus(1413)
Flynn's Log 1 by Stone Marshall(1352)
The Mortality Doctrine 01: The Eye of Minds by James Dashner(1351)
A Warning by Anonymous(1319)
The Rule of Thoughts (Mortality Doctrine, Book Two) by James Dashner(1298)
CODE by Petzold Charles(1217)
Girls Who Code: Learn to Code and Change the World by Reshma Saujani(1175)
Only You Can Save Mankind by Pratchett Terry(1147)
The Memory Wall by Lev AC Rosen(1103)
TBH, This Is So Awkward by Lisa Greenwald(1097)
The Code Book - HOW TO MAKE IT, BREAK IT, HACK IT, CRACK IT by Simon Singh(1055)
App of the Living Dead by Kim Harrington(1050)
